<template>
  <div>
    <gantt ref="ganttRef" :operating="rowType == 'edit' ? true : false" :taskData="taskData"></gantt>
  </div>

</template>
<script lang="ts" setup>
  import Gantt from './components/gantt.vue'
  import { ref, reactive } from 'vue'
  const data = ref([{ id: 1, name: '任务1', start: '2024-01-01', end: '2024-01-05' }])
  const rowType = ref('edit')
  const taskData = reactive({
      "data": [],
      "links": []
  })
</script>
<style lang="scss">


</style>
